package com.learn.springcloud.hystrixexplainindetailconsumer.bean;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Time : 2018/7/27 17:31
 * @Version : 1.0
 */
@Getter
@Setter
@ToString
public class User implements Serializable {

    private Long id;

    private String name;

    public User() {
    }

    public User(Long id, String name) {
        this.id = id;
        this.name = name;
    }
}
